package com.gouda.core.entity;

import lombok.Data;
import org.amethyst.atlas.basic.entity.MagicDBEntity;
import org.amethyst.atlas.basic.meta.Column;
import org.amethyst.atlas.basic.meta.PrimaryKey;
import org.amethyst.atlas.basic.meta.Table;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务类型
 * Created by KGL on 2015/12/4.
 */
@Data
@Table(tableName = "service_type")
public class ServiceTypeEntity extends MagicDBEntity<ServiceTypeEntity> implements Serializable {

    private static final long serialVersionUID = -2727913246165674967L;
    @PrimaryKey
    private long id;
    @Column
    private long parentId;
    @Column
    private String serviceName;
    @Column
    private int state;
    @Column
    private Date createTime;
}
